﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FunArts.EasyDevOps.Shared.Models.SshClient.KeepAlivedClient
{
    /// <summary>
    /// HTTP健康检查
    /// </summary>
    public class HttpHealthCheck : HealthCheck
    {
        /// <summary>
        /// 请求路径
        /// </summary>
        public string UrlPath { get; set; } = "/";

        /// <summary>
        /// 期望的状态码
        /// </summary>
        public int StatusCode { get; set; } = 200;

        /// <summary>
        /// 期望的响应内容(可选)
        /// </summary>
        public string ExpectResponse { get; set; }
    }
}
